package com.charlotte.study.gupao.interpreter.calculate.v1;

/**
 * 抽象表达式角色
 * @author junjie.ding
 * @date 2020/3/23
 */
public abstract class Interpreter implements IArithmeticInterpreter {

    // 左边的表达式
    public IArithmeticInterpreter left;

    // 右边的表达式
    public IArithmeticInterpreter right;

    public Interpreter(IArithmeticInterpreter left, IArithmeticInterpreter right) {
        this.left = left;
        this.right = right;
    }
}
